if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PreservationNoticeHistoryUpdateAcknowledgement]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[PreservationNoticeHistoryUpdateAcknowledgement]
GO

CREATE  PROCEDURE dbo.[PreservationNoticeHistoryUpdateAcknowledgement]
(
	@PreservationNoticeHistoryID int,
	@DateAcknowledged datetime
)
AS
SET NOCOUNT ON

UPDATE 
	PreservationNoticeHistory
SET 
	EventType = 'Acknowledged',
	DateAcknowledged = @DateAcknowledged
WHERE 
	PreservationNoticeHistoryID = @PreservationNoticeHistoryID
GO